﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class GetInventoryPalletDataMessage : BaseTibcoMessage<GetInventoryPalletDataMessageBody>
    {
        public GetInventoryPalletDataMessage()
        {

        }
        public GetInventoryPalletDataMessage(GetInventoryPalletDataMessageBody body, string inboxName = "", string listener = "") : base("ValidatePalletListRequest", body, inboxName, listener)
        {
        }
    }


    public class GetInventoryPalletDataMessageBody : PalletEventBase
    {
        public GetInventoryPalletDataMessageBody()
        {
        }

        [XmlElement("CURRENTPOSITIONTYPE")]
        public string CurrentPositionType { get; set; }
        [XmlElement("CURRENTPOSITIONNAME")]
        public string CurrentPositionName { get; set; }
        [XmlElement("CURRENTZONENAME")]
        public string CurrentZoneName { get; set; }
        [XmlElement("PALLETLIST")]
        public PalletList PalletList { get; set; }

    }
}
